

#pragma once

#include "cocos2d.h"
USING_NS_CC;

#include "type.h"

using namespace std;

class GoldCoinScene : public CCScene, public CCKeypadDelegate {
public:
	GoldCoinScene();
	virtual ~GoldCoinScene();

    CREATE_FUNC(GoldCoinScene);

private:
	virtual bool init();

	void onBuyPack(CCObject* sender);
	void onClose(CCObject* sender);

	virtual void keyBackClicked();
	virtual void keyMenuClicked();

	void removeNode(CCNode* node);

private:
	CCLayer* _layer;

	CCLabelTTF* _labelMoney;

	char buf[50];
};
